﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AdvertisingAdd.ascx.cs"
    Inherits="controls_admin_AdvertisingAdd" %>
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5>
            Thêm Quảng Cáo Mới</h5>
    </div>
    <!-- end box / title -->
    <div id="divMessage" runat="server">
    </div>
    <div class="form">
        <div class="fields">
            <div class="field  field-first">
                <div class="label">
                    <label for="input-medium">
                        Tên Quảng cáo:
                    </label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtTitle" runat="server" CssClass="required medium" MaxLength="500" />
                    <div runat="server" id="NOTE_ADS_TITLE" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Chọn đường dẫn:
                    </label>
                </div>
                <div class="input">
                    <asp:FileUpload ID="fulAdv" runat="server" CssClass="file" />
                    <div runat="server" id="NOTE_ADS_URL" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Link to:
                    </label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtUrl" runat="server" CssClass="required url medium" MaxLength="255" />
                    <div runat="server" id="NOTE_ADS_LINK" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Module:
                    </label>
                </div>
                <div class="input">
                    <asp:DropDownList ID="ddlModule" runat="server" CssClass="select" />
                    <div runat="server" id="NOTE_ADS_MODULE" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="date">
                        Ngày hết hạn:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtExpired" runat="server" CssClass="date" />
                    <div runat="server" id="NOTE_ADS_ENDDATE" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Hiển thị:
                    </label>
                </div>
                <div class="input">
                    <asp:CheckBox ID="chbDisplay" runat="server" Checked="true" />
                    <div runat="server" id="NOTE_ADS_DISPLAY" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Thứ tự hiển thị:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtSortDisplay" runat="server" CssClass="number required" Text="1" />
                    <div runat="server" id="NOTE_ADS_SORT" class="note" />
                </div>
            </div>
            <div class="buttons">
                <div class="highlight">
                    <asp:Button ID="btnSubmit" runat="server" Text="Đồng ý" OnClick="btnSubmit_Click" />
                </div>
            </div>
        </div>
    </div>
</div>
